Skip to content

Conversation

bjoabe
Copy link
Member

@bjoabe bjoabe commented Oct 16, 2026

Summary

  • Configure PostgreSQL, Apache routing and a systemd backend service on the group VM.
  • Add first-release deployment scripts and replace the temporary test server with the real application.
  • Fix database setup/seed commands to use pg with DATABASE_URL.
  • Add a Playwright test against the real backend and database.
  • Consolidate setup, architecture, tests, deployment and individual AI declarations in README; remove superseded documentation.

Validation

  • All 13 frontend tests pass.
  • All 22 backend tests pass on the VM using a separate PostgreSQL test database and the shared schema.
  • Lint, formatting checks and both production builds pass.
  • Playwright search/details test passes against the deployed application, including after VM reboot.
  • Apache, PostgreSQL and the backend start automatically after reboot; /project1/ still works.
  • Main features tested manually; credentials remain outside Git.

App: http://it2810-32.idi.ntnu.no/project2/ (NTNU network/VPN required). The catalog contains 12 example games; selections are stored in the browser.

Closes #7

@bjoabe bjoabe self-assigned this Oct 16, 2026
@bjoabe bjoabe requested a review from a team as a code owner October 16, 2026 11:34
Copy link
Member

@andrenyr andrenyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the documentation, deployment configuration, database setup and Playwright test. Also tested the deployed application on the VM. Everything looks good

@bjoabe bjoabe merged commit 1cf62b6 into main Oct 16, 2026
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up VM deployment, end-to-end tests and documentation
2 participants